#pragma once
#include <SFML/Audio.hpp>

sf::SoundBuffer buffer[5];
struct Musics {
    sf::Sound sound;
    Musics(int i){
        switch (i){
            case 0: { buffer[0].loadFromFile("Audio/paf.wav"); sound.setBuffer(buffer[0]); break; }
            case 1: { buffer[1].loadFromFile("Audio/bufk.wav"); sound.setBuffer(buffer[1]); break; }
            case 2: { buffer[2].loadFromFile("Audio/roblox.mp3"); sound.setBuffer(buffer[2]); break; }
            case 3: { buffer[3].loadFromFile("Audio/game over.mp3"); sound.setBuffer(buffer[3]); break; }
            case 4: { buffer[4].loadFromFile("Audio/BASTA.mp3"); sound.setBuffer(buffer[4]); break; }
            default:
                break;
        }

    }
};
